import request from '../utils/request'

export const Inquire = (name) => {
    return request.get(`/group/exist/${name}`)
}

export const Search = (category) => {
    // const a = []
    // arr.forEach(item => {
    //     // console.log(item)
    //     a.push(item)
    // });
    return request.get(`/sort/category/${category}`)
}

export const clickItem = (mkdir) => {
    return request.get(`/sort/getfiles/${mkdir}`)
}